package team.sun.sss.pojo.staff;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.sql.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class Staff {
    private int staNum;
    private String staName;
    private String staEmail;
    private boolean staSex;
    private boolean staNation;
    private String staCollege;
    private String staProvince;
    private String staPoliticalOutlook;
    private String staSort;
    private String staEducationBackground;
    private String staIdCard;
    private String staDegree;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date staBirthday;
    private String staWorkType;
    private boolean staMarriage;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date staFirstWorkDate;
    private String staWorkTitle;
    private String staPhoneNum;
    private String staPostalCode;
    private boolean staWorkState;
    private int staCounsellorTime;
    private String staWechat;
    private int staQqNum;
    private int userState;
}
